home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / tex / style / misc / a4.sty < prev    next >
Text File  |  1995-11-25  |  1KB  |  35 lines

  1. %
  2. % "a4" document style option.
  3. % John Pavel, May 1987
  4. %
  5. % Redefines the \textheight and \topmargin for A4 paper, as opposed to US paper.
  6.  
  7. % \textwidth is not altered because A4 is narrower than US paper.
  8. %
  9. % \textheight is the height of text (including footnotes and figures, 
  10. % excluding running head and foot).
  11. %
  12. % Adjusting \textheight will adjust position of the bottom of the page.
  13. % Must preserve "(\textheight - \topskip) divides \baselineskip".
  14. % \topskip always appears to be 10pt.
  15. %
  16. %
  17. % Following Lamport's change to other style files on 24 Jun 86,
  18. % changed to explicitly compute \textheight to avoid roundoff.  The
  19. % value of the multiplier was calculated as the floor of the old
  20. % \textheight minus \topskip, divided by \baselineskip for
  21. % \normalsize.
  22. %
  23. \topmargin 0 pt     %    Nominal distance from top of paper to top of page
  24. \ifcase \@ptsize
  25.     % mods for 10 pt
  26.     \textheight 53\baselineskip
  27. \or % mods for 11 pt 
  28.     \textheight 46\baselineskip
  29. \or % mods for 12 pt
  30.     \textheight 42\baselineskip
  31. \fi
  32. \advance\textheight by \topskip
  33.